{
  'conditions': [
      [
        'OS=="mac"', {
          'targets': [
            {
              "target_name": "dispatch",
              "sources":[ 
                "src/dispatch.cc" 
              ],
              "link_settings": {
                "libraries":[
                  "-llibstdcrt.a"
                ],
                "library_dirs": [
                  "/home/com/std_com/libs",
                ]
              },
              "include_dirs":[
                "../include",
				"../compat",
                "../extensions/include",
                "../extensions/include/platform"]
            }
          ]
        },
        'OS=="linux"', {
          'targets': [
            {
             "cflags!":[
               "-ldl"
             ],
              "target_name": "dispatch",
              "sources":[ 
                "src/dispatch.cc",
                "src/msgproxy.cc",
                "src/interface.cc",
                "src/loadcontainer.cc" 
              ],
              "libraries":[
                "/mnt/c/app/std_com/libs/libstdcrt.a"
              ],
              "include_dirs":[
                "../include",
				"../compat",
                "../extensions/include",
                "../extensions/include/platform"]
            }
          ]
        }, 
        'OS=="win"', { 
          'targets': [
            {
			
				"defines": [
					"WIN32",
					"UNICODE",
					"_UNICODE",
				],
				"target_name": "dispatch",
				"sources": [ 
					"src/dispatch.cc",
					"src/msgproxy.cc",
					"src/interface.cc",
					"src/loadcontainer.cc"
				],
				
				"link_settings": {
					"libraries":[
						"stdcrt.lib",
						"shlwapi.lib"
					]
				},
		
				"configurations": {
					
          "Debug": {
						"msvs_settings": {
							"VCCLCompilerTool": {
								"RuntimeLibrary": 3
							}
						},
						"library_dirs": [
							"../Debug",
						]
					},
					"Release": {
						"msvs_settings": {
							"VCCLCompilerTool": {
								"RuntimeLibrary": 2
							}
						},

						"library_dirs": [
							"../Release",
						]
					}
				},
				
				"include_dirs":[
					"../include",
					"../compat",
					"../extensions/include",
					"../extensions/include/platform"]
            }
          ]
        }
    ]
  ]
}
